package cleaners;

public class ClearContent {

	
	
	private static final int url_limit=70;
	
	private static final int snippet_limit=400;
	
	public static String cleanURL(String s){
		
		
		if(s.length()>url_limit)
		  s=  s.substring(0,url_limit);
		
		
		return s;
		
		
	}
	
	
	
	
	public static String cleanSnippet(String s){
		
		if (s.length()>snippet_limit)
			s=s.substring(0,snippet_limit);
		
		
		return s;
	
		
	}
}
